﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


/**
* @Author: AdinZ
* @Q  Q : 1454269
* @Email:adinz@adinz.com
* @Created: 2014/3/31 16:46:03
*
* */
namespace Novel.Sys.Model
{
    /* 小说分类 */
    public class novel_sort
    {
        private int iD;
        private string name;
        private string names;

        public string Names
        {
            get { return names; }
            set { names = value; }
        }
        private string keyword;
        private string description;

        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        public novel_sort()
        {
        }

        /// <summary>
        /// 编号 分类id
        /// </summary>
        public int ID
        {
            get { return iD; }
            set { iD = value; }
        }
        /// <summary>
        /// 名称 分类名称
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        public string Keyword
        {
            get { return keyword; }
            set { keyword = value; }
        }
        public void Reset()
        {
            iD = 0;
            name = null;
            keyword = null;
        }

        public void AssignFrom(novel_sort AObj)
        {
            if (AObj == null)
            {
                Reset();
                return;
            }
            iD = AObj.iD;
            name = AObj.name;
            keyword = AObj.keyword;
        }

    }

}

